home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18224 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.mindlink.net!news
  2. From: Allan_Nienhuis@mindlink.bc.ca (Allan Nienhuis)
  3. Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
  4. Subject: Re: Young programmers read me.
  5. Date: Fri, 19 Apr 1996 14:36:29 GMT
  6. Organization: MIND LINK! - British Columbia, Canada
  7. Message-ID: <4l886m$87i@fountain.mindlink.net>
  8. References: <4icpp9$7hr@barad-dur.nas.com> <4keejc$lpi@tpd.dsccc.com> <Pine.OSF.3.91.960411093444.20958D-100000@bud.cc.swin.edu.au> <4kmfqn$e0f@airdmhor.gen.nz> <4kubt3$2jk@plains.nodak.edu> <Pine.SOL.3.91.960417065345.308B-100000@strangelove>
  9. NNTP-Posting-Host: line016.abb.mindlink.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. Erwin Wessels <wessels@strangelove> wrote:
  13.  
  14. >this is what you mean, i guess:
  15. >       if(something_happened) {
  16. >             do_something_else();
  17. >             do_yet_another_thing();
  18. >       }
  19. >I'm not talking about the place of the {'s and }'s, now, just the fact 
  20. >that they should be there... :).
  21.  
  22. I think he was pointing out that a novice programmer might indent the
  23. third line incorrectly without having the braces to indicate the end
  24. of the conditionally executed block.
  25.  
  26. Allan_Nienhuis@Mindlink.bc.ca
  27.  
  28.